<meta http-equiv="Content-Type" content="text/html; charset=windows-1256">
<meta name="Keywords" content="{$subject_row.keywords}">
<meta name="Description" content="{$subject_row.keywords}">
<div align="center">
{if $getpoll_row.qus|escape:"html" neq ""}
<form method="POST" action="vote.php?vote=1&amp;id={$getpoll_row.id}&amp;sid={$subject_row.id}">
  <div align="center">

    <table class="border" summary="التصويت" border="1" cellspacing="1" width="97%">
      <tr>
        <td class="tcat"colspan="4">التصويت</td>
      </tr>
      <tr>
        <td class="thead" colspan="4">السؤال: {$getpoll_row.qus|escape:"html"}</td>
      </tr>
      <tr>
        <td class="row3" width="4%">1</td>
        <td class="row1" width="50%">{if $submit eq 1} <input class="radio" type="radio" value="1"  name="A1" id="answ1">{/if}<label for="answ1">{$getpoll_row.ans1|escape:"javascript"}</label></td>
        <td class="row3" width="20%">مرات الاختيار : {$getpoll_row.res1|escape:"html"}</td>
	<td class="row1" width="26%">
	{math equation="(res / sum)*100" res=$getpoll_row.res1|escape:"html" sum=$sum format="%.2f"}%
	<br />
	<img src="image/polls/bar1.gif"  width="{math equation="(res / sum)*100" res=$getpoll_row.res1|escape:"html" sum=$sum format="%.2f"}%" height="11" alt="" />
	</td>
      </tr>
      <tr>
        <td class="row3" width="4%">2</td>
        <td class="row1" width="50%">{if $submit eq 1} <input class="radio" type="radio" value="2"  name="A1" id="answ2">{/if}<label for="answ2">{$getpoll_row.ans2|escape:"javascript"}</label></td>
        <td class="row3" width="20%">مرات الاختيار : {$getpoll_row.res2|escape:"html"}</td>
	<td class="row1" width="26%">
	{math equation="(res / sum)*100" res=$getpoll_row.res2|escape:"html" sum=$sum format="%.2f"}%
	<br />
	<img src="image/polls/bar2.gif"  width="{math equation="(res / sum)*100" res=$getpoll_row.res2|escape:"html" sum=$sum format="%.2f"}%" height="11" alt="" />
	</td>
      </tr>
      {if $getpoll_row.ans3 neq ""}
      <tr>
        <td class="row3" width="4%">3</td>
        <td class="row1" width="50%">{if $submit eq 1} <input class="radio" type="radio" value="3"  name="A1" id="answ3">{/if}<label for="answ3">{$getpoll_row.ans3|escape:"javascript"}</label></td>
        <td class="row3" width="20%">مرات الاختيار : {$getpoll_row.res3|escape:"html"}</td>
	<td class="row1" width="26%">
	{math equation="(res / sum)*100" res=$getpoll_row.res3|escape:"html" sum=$sum format="%.2f"}%
	<br />
	<img src="image/polls/bar3.gif"  width="{math equation="(res / sum)*100" res=$getpoll_row.res3|escape:"html" sum=$sum format="%.2f"}%" height="11" alt="" />
	</td>
      </tr>
      {/if}
      {if $getpoll_row.ans4 neq ""}
      <tr>
        <td class="row3" width="4%">4</td>
        <td class="row1" width="50%">{if $submit eq 1} <input class="radio" type="radio" value="4"  name="A1" id="answ4">{/if}<label for="answ4">{$getpoll_row.ans4|escape:"javascript"}</label></td>
        <td class="row3" width="20%">مرات الاختيار : {$getpoll_row.res4|escape:"html"}</td>
	<td class="row1" width="26%">
	{math equation="(res / sum)*100" res=$getpoll_row.res4|escape:"html" sum=$sum format="%.2f"}%
	<br />
	<img src="image/polls/bar4.gif"  width="{math equation="(res / sum)*100" res=$getpoll_row.res4|escape:"html" sum=$sum format="%.2f"}%" height="11" alt="" />
	</td>
      </tr>
      {/if}
      {if $getpoll_row.ans5 neq ""}
      <tr>
        <td class="row3" width="4%">5</td>
        <td class="row1" width="50%">{if $submit eq 1} <input class="radio" type="radio" value="5"  name="A1" id="answ5">{/if}<label for="answ5">{$getpoll_row.ans5|escape:"javascript"}</label></td>
        <td class="row3" width="20%">مرات الاختيار : {$getpoll_row.res5|escape:"html"}</td>
	<td class="row1" width="26%">
	{math equation="(res / sum)*100" res=$getpoll_row.res5|escape:"html" sum=$sum format="%.2f"}%
	<br />
	<img src="image/polls/bar5.gif"  width="{math equation="(res / sum)*100" res=$getpoll_row.res5|escape:"html" sum=$sum format="%.2f"}%" height="11" alt="" />
	</td>
      </tr>
      {/if}
      {if $getpoll_row.ans6 neq ""}
      <tr>
        <td class="row3" width="4%">6</td>
        <td class="row1" width="50%">{if $submit eq 1} <input class="radio" type="radio" value="6"  name="A1" id="answ6">{/if}<label for="answ6">{$getpoll_row.ans6|escape:"javascript"}</label></td>
        <td class="row3" width="20%">مرات الاختيار : {$getpoll_row.res6|escape:"html"}</td>
	<td class="row1" width="26%">
	{math equation="(res1 / sum)*100" res1=$getpoll_row.res6|escape:"html" sum=$sum format="%.2f"}%
	<br />
	<img src="image/polls/bar6.gif"  width="{math equation="(res / sum)*100" res=$getpoll_row.res6|escape:"html" sum=$sum format="%.2f"}%" height="11" alt="" />
	</td>
      </tr>
      {/if}
      {if $getpoll_row.ans7 neq ""}
      <tr>
        <td class="row3" width="4%">7</td>
        <td class="row1" width="50%">{if $submit eq 1} <input class="radio" type="radio" value="7"  name="A1" id="answ7">{/if}<label for="answ7">{$getpoll_row.ans7|escape:"javascript"}</label></td>
        <td class="row3" width="20%">مرات الاختيار : {$getpoll_row.res7|escape:"html"}</td>
	<td class="row1" width="26%">
	{math equation="(res1 / sum)*100" res1=$getpoll_row.res7|escape:"html" sum=$sum format="%.2f"}%
	<br />
	<img src="image/polls/bar7.gif"  width="{math equation="(res / sum)*100" res=$getpoll_row.res7|escape:"html" sum=$sum format="%.2f"}%" height="11" alt="" />
	</td>
      </tr>
      {/if}
      {if $getpoll_row.ans8 neq ""}
      <tr>
        <td class="row3" width="4%">8</td>
        <td class="row1" width="50%">{if $submit eq 1} <input class="radio" type="radio" value="8"  name="A1" id="answ8" />{/if}<label for="answ8">{$getpoll_row.ans8|escape:"javascript"}</label></td>
        <td class="row3" width="20%">مرات الاختيار : {$getpoll_row.res8|escape:"html"}</td>
	<td class="row1" width="26%">
	{math equation="(res1 / sum)*100" res1=$getpoll_row.res8|escape:"html" sum=$sum format="%.2f"}%
	<br />
	<img src="image/polls/bar8.gif"  width="{math equation="(res/ sum)*100" res=$getpoll_row.res8|escape:"html" sum=$sum format="%.2f"}%" height="11" alt="" />
	</td>
      </tr>
      {/if}
      <tr>
        <td class="row3dark" colspan="4">مجموع التصويتات : {$sum1}</td>
      </tr>
{if $submit eq 1}
      <tr>
        <td class="row3dark" colspan="4"><input class="button" type="submit" value="تصويت" name="B1" /></td>
      </tr>
{/if}
    </table>
  </div>
</form>
<br />
{/if}
<div align="center">
	<table class="border" summary="التصويت" border="1" cellspacing="1" width="97%">
		<tr>
		<td class="tcat">
		{if $subject_row.subject_describe|escape:"html" neq ""}وصف الموضوع : {$subject_row.subject_describe|escape:"html"}{/if}{if $subject_row.subject_describe|escape:"html" eq ""}&nbsp;{/if}</td>
	</tr>
	<tr>
		<td class="thead">
		<table class="border" border="0" cellspacing="0" width="100%" cellpadding="0">
			<tr>
	<td class="thead" width="20%">

		<span style="float:right">{$topic_time.date} - {$topic_time.time}</span></td>
        
	<td class="thead" width="80%">
				{if $subject_row.stick eq 1} موضوع مثبت <img src="{$image_path}/sticky.gif" border="0" title="موضوع مثبت"/>{/if}&nbsp;&nbsp;{if $subject_row.close eq 1} موضوع مغلق <img src="{$image_path}/close.gif" border="0" title="موضوع مغلق"/>{/if}{if $subject_row.delete_topic eq 1} موضوع محذوف <img src="{$image_path}/trash.gif" border="0" title="موضوع محذوف"/>{/if}{if $getattach_num gt 0}موضوع به مرفقات <img src="{$image_path}/attach.gif" border="0" title="موضوع به مرفقات"/>{/if}
				</td>
			</tr>
		</table>		</td>
	</tr>
	<tr>
		<td class="row1">
		<table border="0" width="100%" cellspacing="3" cellpadding="2" dir="ltr">
			<tr>
			{if $getcards_row.card_yellow eq 1 || $getcards_row.card_reed eq 1 || $getcards_row.card_black eq 1 }
				<td class="row1dark" width="220" align="right">
                
                
				<div align="right">
                {if $getcards_row.card_yellow eq 1 || $getcards_row.card_reed eq 1 || $getcards_row.card_black eq 1 } <p dir="rtl"><font class="spical"><img border="0" src="{$image_path}/ric2.png" width="9" height="8"><b><font color="#CC0000" style="font-size: 8pt"> 
				بطاقة مخالفة : </font></b> </font>{if $getcards_row.card_yellow eq 1}<img alt="yellow" src="{$image_path}/cards/yellow-s.gif" />{/if}{if $getcards_row.card_reed eq 1}
 				<img alt="reed" src="{$image_path}/cards/reed-s.gif" />{/if}{if $getcards_row.card_black eq 1}
                <img alt="black" src="{$image_path}/cards/black-s.gif" />{/if}<br>{/if}
                {if $msg neq ""}<br>
				<span lang="ar-jo">
               	<img border="0" src="{$image_path}/ric2.png" width="9" height="8"></span>
				<span lang="ar-jo"><font color="#CC0000" style="font-size: 8pt">
				<b>رسالة المشرف : </b></font>{$msg}
               	<br>{/if}
				</div>
                
                
				</td>
				{/if}
				<td>
				<p align="right" dir="rtl"><font class="spical"><img border="0" src="{$image_path}/ric2.png" width="9" height="8">
				الجنس : {if $writer_row.user_gender eq 'f'}
<img src="image/user_female.png" border="0" title="أنثى" align="r" />
				{/if}
{if $writer_row.user_gender eq 'm'}
<img src="image/user_male.png" border="0" title="ذكر" align="r" />
{/if}<br>
				<img border="0" src="{$image_path}/ric2.png" width="9" height="8">
				مكان الإقامة : </font><b><span style="font-size: 8pt">{$writer_row.user_country|escape:"html"}</span></b><font class="spical"><br>
				<img border="0" src="{$image_path}/ric2.png" width="9" height="8">
				عدد المشاركات : </font><b><span style="font-size: 8pt">{$writer_row.posts}<br>
				</span></b><font class="spical">
				<img border="0" src="{$image_path}/ric2.png" width="9" height="8">
				التواجد : </font>{$status}</td>
				<td width="250">
				<p align="right" dir="rtl"><font class="spical"><img border="0" src="{$image_path}/ric2.png" width="9" height="8">
				رقم العضوية : </font><b>
				<font color="#FF0000" style="font-size: 8pt">{$writer_row.id}</font></b><br>
				<font class="spical"><img border="0" src="{$image_path}/ric2.png" width="9" height="8">
				عدد الزيارات : </font><b><span style="font-size: 8pt">{$writer_row.visitor}</span></b><br>
	{if $groupper_row.admincp_allow neq 0}
{if $writer_row.ruser_ip neq""}<font class="spical"><img border="0" src="{$image_path}/ric2.png" width="9" height="8">
			رقم اي بي العضو : </font><font color="#009900"><b><span style="font-size: 8pt">{$writer_row.ruser_ip}</span></b></font><br>{/if}{/if}
				<font class="spical"><img border="0" src="{$image_path}/ric2.png" width="9" height="8">
				تاريخ الإنضمام : </font><b><span style="font-size: 8pt">{$register_date}</span></b></td>
				<td class="row1dark" width="170">
				<p align="center">{if $writer_is_visitor neq 1}<b><font size="5"><a href="misc.php?profile=1&amp;id={$writer_row.id}">{$writer_style}</a></font><br />
				<span style="font-size: 8pt">{$writer_row.user_title}<br>
				</span></b>{/if}{if $writer_is_visitor eq 1}<b><font size="5"> زائر</font></b>{/if}</td>
			</tr>
		</table>		</td>
	</tr>
	<tr>
		<td class="row1" width="80%" valign="top">
		 <br />
		<div style="float:right; width:25%; height:px; ">
<table summary="جدول" width="100%" border="0" cellspacing="3">
	<tr>
	<td class="row1dark" align="center">
	 {if $writer_row.avater_path neq "" and $info_row.allow_avatar eq 1}<p style="margin-top: 0; margin-bottom: 0">
<img src="{$writer_row.avater_path|escape:"html"}" alt="الصورة الشخصية للعضو {$writer_row.username|escape:"html"}" border="1"><br />
{/if}
{if $writer_row.avater_path eq "" and $writer_row.user_gender eq "f"}</p><p style="margin-top: 0; margin-bottom: 0">
<img src="{$image_path}/female.png" alt="الصورة الشخصية للعضو {$writer_row.username|escape:"html"}" border="1" ></p>{/if}
{if $writer_row.avater_path eq "" and $writer_row.user_gender eq "m"}<p style="margin-top: 0; margin-bottom: 0">
<img src="{$image_path}/male.png" alt="الصورة الشخصية للعضو {$writer_row.username|escape:"html"}" border="1"><br />{/if}
   </p>   </td>
   </tr>
    {if $writer_row.user_country neq ""}
  {/if}
    {if $writer_row.away eq 1 and $info_row.allow_apsent eq 1}
    <tr>
	<td class="row1dark" align="center" >
	<p align="right" dir="rtl">
				<img border="0" src="{$image_path}/ric2.png" width="9" height="8">
	<font color="#FF0000"><b><span style="font-size: 8pt">سبب الغياب :</span></b></font></p>
	<p>{$away}</td>
   </tr>{/if}
   <tr><td class="row1">
	<p align="center">{if $Latest_Topics_num neq 0 and $info_row.member_latest_topics_activate == 1 }
  <br /><table align="center" class="border" summary="من مواضيعي" border="1" cellspacing="1" width="84%">
    <tr>
      <td class="thead2" align="center" width="100%" colspan="2">من مواضيعي
 </td>
</tr>
{section name=idx loop=$Latest_Topic}
<tr>
      <td class="row1" align="center" width="80%">  
        -&nbsp;<a href="show.php?main=1&id={$Latest_Topic[idx].id}">{$Latest_Topic[idx].title}</a>
              </td>
      <td class="row1" align="center" width="20%">{$Latest_Topic[idx].reply_number}</td>
    </tr>
      {/section}  
  </table>{/if}</td></tr>
	   <tr>
       <td class="row1">
       
    	<div align="center">
            <h3>خيارات الموضوع</h3>
<a href = "new.php?print=1&id={$subject_row.id}"> <img border = "0"  src = "{$image_path}/print.png" alt="طباعة الموضوع" style="filter:alpha(opacity=20);-moz-opacity:0.5" onMouseover="makevisible(this,0)" onMouseout="makevisible(this,1)" ></a>  

<a href = "attach.php?download_subject=1&id={$subject_row.id}"> <img border = "0"  src = "{$image_path}/take-copy.png" alt="اخذ نسخة من الموضوع" style="filter:alpha(opacity=20);-moz-opacity:0.5" onMouseover="makevisible(this,0)" onMouseout="makevisible(this,1)" ></a>
 
<a href = "JavaScript:OpenWindow('new.php?friend=1&amp;index=1&amp;id={$subject_row.id}')"> <img border = "0"  src = "{$image_path}/send-to-friend.png" alt="ارسال الموضوع الى صديق" style="filter:alpha(opacity=20);-moz-opacity:0.5" onMouseover="makevisible(this,0)" onMouseout="makevisible(this,1)" ></a>
		</div>       
       
    </td>
    </tr>
</table>
</div>
   		<div align="center">
   		<table border="0" width="75%" cellspacing="0" cellpadding="0">
			<tr>
				<td class="row1dark">
				<table border="1" width="100%" cellspacing="0" cellpadding="0" style="border-collapse: collapse">
					<tr>
						<td class="row1">
		<p align="center">&nbsp;</p>
{if $info_row.auto_center_sub eq 1}
<div align="center">
        {$text}
</div>
{else}
{$text}
{/if}

		<p align="center">

<br>
		{if $getattach_num gt 0}
<br />
		</p>
<div align="center">
<table class="border" summary="الملف المرفق" border="1" cellspacing="1"  width="65%">
    <tr>
      <td  class="thead" width="100%" colspan="4"> ملف مرفق</td>
    </tr>
    <tr>
      <td class="row3dark" width="50%">اسم الملف</td>
      <td class="row3dark" width="20%">حجم الملف</td>
      <td class="row3dark" width="20%">مرات التحميل</td>
      <td class="row3dark" width="10%">تحميل</td>
    </tr>
    {section name=idx loop=$getattach_row}
    <tr>
      <td class="row3" width="50%"><div align="right"><img alt="{$getattach_row[idx].filename|escape:"html"}" src="{$getattach_row[idx].fileext}" /> : {$getattach_row[idx].filename|escape:"html"}</div></td>
      <td class="row3" width="25%">{$getattach_row[idx].filesize} بايت</td>
      <td class="row3" width="25%">{$getattach_row[idx].visitor}</td>
      <td class="row3" width="10%">
      <a class="row1" target="_blank" href="attach.php?download=1&amp;id={$getattach_row[idx].id}">
      <img alt="تحميل" src="image/ok.gif" border="0"/>      </a>      </td>
    </tr>
    {/section}
  </table>
</div>
{/if}

						{if $subject_row.action_by neq ""}
<br />
<p style="font-size: 8pt; font-weight: 700" align="center">تم تحرير الموضوع بواسطة {$subject_row.action_by|escape:"html"}<br /> {if $subject_row.actiondate neq "0000-00-00 00:00:00"}في : {$subject_row.actiondate}{/if}<br>
بسبب :<font color="#CC0000"> {$subject_row.edit_reason}</font></p>
{/if}						</td>
					</tr>
				</table>
				<br />
{if $section_row.show_sig eq 1}
{if $writer_row.user_sig neq ""}
				<div align="center">
  <table class="border" summary="التوقيع" border="1" cellspacing="1" >
    <tr>
      <td  class="thead">التوقيع</td>
    </tr>
    <tr>
      <td  class="row3"><div> {$user_sig} </div></td>
    </tr>
  </table>
</div>

{/if}{/if}				</td>
			</tr>
		</table>
<br />
<br /></td>
	</tr>
	<tr>
		<td class="row3">
        <div style="float:left;">
        <a href="newreply.php?add=1&amp;subject_id={$subject_row.id}&amp;qu_subject=1">
        <img src="{$image_path}/new_qute.gif" border="0" alt="رد مع اقتباس"></a>&nbsp; &nbsp; 
        <a href="misc.php?report=1&amp;id={$subject_row.id}">
        <img src="{$image_path}/report.gif" border="0" alt="ابلاغ عن محتوى الموضوع"></a>&nbsp;&nbsp; &nbsp; 
        <a href="fav.php?add=1&id={$subject_row.id}">
        <img border="0" src="{$image_path}/fav.gif"></a> 
{if $mod_toolbar eq 1}&nbsp; 
		<a href="topic_cp.php?cp=1&amp;id={$subject_row.id}&amp;D1=2">
        <img src="{$image_path}/edit.gif" border="0" alt="تعديل الموضوع"></a>&nbsp;&nbsp;&nbsp; 
        <a href="topic_cp.php?cp=1&amp;id={$subject_row.id}&amp;D1=1">
        <img src="{$image_path}/delete.gif" border="0" alt="حذف الموضوع"></a>&nbsp;&nbsp; &nbsp; 
        <a href="ajax.php?cardsshow=1" rel="facebox">
        <img border="0" src="{$image_path}/cards/cards.gif" alt="إعطاء مخالفة"></a> 
        {else}
{if $MySBB_username eq $writer_row.username}&nbsp; 
		<a href="editsubject.php?edit=1&amp;index=1&amp;id={$subject_row.id}">
        <img src="{$image_path}/edit.gif" border="0" alt="تعديل الموضوع"></a>
{/if}&nbsp; {/if}
		</div>
		</td>
	</tr>
	</table>
</div>
</div>
<br />